<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt_rt" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<div  align="center" >
	<font size="6">记账凭证</font>
	<hr style="width:300px"/>
	<hr style="width:300px"/>
	<c:if test="${HZ!=null}">
	<font>核算单位:${HZ[0].TITLE}</font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	</c:if>
	<c:if test="${ddList!=null}">
	<font><fmt:formatDate value="${ddList[0].JZRQ}" /></font>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
	<font>附件单据数:</font>${ddList[0].FJDJS}
	</c:if>
	 <table  rules=all  style="width:800px;text-align:center;cellspacing=0;cellpadding=0;border: 1 solid;"  >
	 <tr height="10px">
	 	<td>摘要</td>
	 	<td>科目编号</td>
	 	<td>科目名称</td>
	 	<td>借方发生额</td>
	 	<td>贷方发生额</td>
	 </tr>
	 <c:forEach var="row" items="${ddList}" varStatus="status">
		 <tr height="20px">
		 	<td>${row.ZHAIYAO}</td>
	    	<td>${row.KMBH}</td>
	    	<td>${row.KMMC}</td>
	    	<td style="text-align:right;" >${row.JFFSE}</td>
	    	<td style="text-align:right;" >${row.DFFSE}</td>
		 </tr>
		 </c:forEach>
	 <tr height="20px"> 
	 <c:if test="${ddList!=null}">
	 	<td>合计	</td>
	 	<td colspan=2>(大写):${list1[0].dJFFSE}</td>
	 	
	 	<td style="text-align:right;">${list1[0].JFFSE}</td>
	 	<td style="text-align:right;">${list1[0].JFFSE}</td>
	 	</c:if>
	 </tr>
	 </table>
</div>
 <div  align="center" >
 <c:if test="${ddList!=null}"> 
 制单:${ddList[0].ZD}&nbsp;&nbsp;复核:${ddList[0].FH}&nbsp;&nbsp;记账:${ddList[0].JZ}&nbsp;&nbsp;
  </c:if>
 </div>